﻿using System;
using System.Collections.ObjectModel;

namespace HobSoft.SoccerBet2014.Client.ViewModels
{
    [Serializable]
    public class BfBalance : ViewModelBase
    {
        private string _homeTeam;
        public string HomeTeam
        {
            get { return _homeTeam; }
            set { PropertyValueChange(ref _homeTeam, value, "HomeTeam"); }
        }

        private string _awayTeam;
        public string AwayTeam
        {
            get { return _awayTeam; }
            set { PropertyValueChange(ref _awayTeam, value, "AwayTeam"); }
        }

        private ObservableCollection<BfBalanceItem[]> _gainItems;
        public ObservableCollection<BfBalanceItem[]> GainItems
        {
            get { return _gainItems; }
            set { PropertyValueChange(ref _gainItems, value, "GainItems"); }
        }

        public BfBalance()
        {

        }

        public void Query()
        {
            GainItems = new ObservableCollection<BfBalanceItem[]>();
        }
    }
}
